package com.jesper.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.jesper.model.ItemCategory;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * Created by jiangyunxiong on 2018/3/10.
 */
@Mapper
public interface ItemCategoryMapper extends BaseMapper<ItemCategory> {


    @Select("SELECT * from tb_category where status = 1 ORDER BY updated DESC")
    List<ItemCategory> list1();


}
